.class Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;
.super Ljava/lang/Object;
.source "PictureGalleryActivity.java"

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    .prologue
    .line 147
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .registers 2
    .param p1, "arg0"    # I

    .prologue
    .line 169
    return-void
.end method

.method public onPageScrolled(IFI)V
    .registers 4
    .param p1, "arg0"    # I
    .param p2, "arg1"    # F
    .param p3, "arg2"    # I

    .prologue
    .line 164
    return-void
.end method

.method public onPageSelected(I)V
    .registers 5
    .param p1, "position"    # I

    .prologue
    .line 151
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->mPictures:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$000(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/PictureModel;

    .line 152
    .local v0, "picture":Lcom/brixd/niceapp/community/model/PictureModel;
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->mIsSelectMode:Z
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$100(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)Z

    move-result v1

    if-eqz v1, :cond_27

    .line 153
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->mCheckBox:Landroid/widget/CheckBox;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$200(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;)Landroid/widget/CheckBox;

    move-result-object v1

    invoke-virtual {v0}, Lcom/brixd/niceapp/community/model/PictureModel;->isChecked()Z

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 158
    :goto_21
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->updatePageCount(I)V
    invoke-static {v1, p1}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$400(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;I)V

    .line 159
    return-void

    .line 155
    :cond_27
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/community/model/PictureModel;->isCover()Z

    move-result v2

    # invokes: Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->updateSetBCoverBtnStatus(Z)V
    invoke-static {v1, v2}, Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;->access$300(Lcom/brixd/niceapp/community/activity/PictureGalleryActivity;Z)V

    goto :goto_21
.end method
